<%@ include file="/WEB-INF/views/includes.jsp" %>
<div class="invrow">
    <div style="float:left;margin-bottom:5px;"><a href="/cheapflix/home"><img style="border:0" src="/cheapflix/images/logo.png" alt="Cheapflix logo"/></a></div>

    <c:if test="${me != null}">
        <div class="headermenu">
            <ul>
                <li>
                    <form action="/cheapflix/search" method="GET">
                        <input type="text" name="searchField"/>
                        <input type="submit" value="Search Flix">
                    </form>
                </li>
                <li>|</li>
                <li><a href="/cheapflix/users/<c:out value="${me.id}"/>">User Profile</a></li>
                <li>|</li>
                <li><a href="/cheapflix/logout">Logout</a></li>
            </ul>
        </div>
    </c:if>
</div>